package com.shopping_center.management.system.model;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author YeFeng
 * @date 2023/3/2
 */
@Data
public class UserInfo {

    private String userId;
    private String roleId;
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @NotEmpty(message = "密码不能为空")
    private String password;

}
